.class public Lcom/waiqin365/lightapp/kaoqin/a/u;
.super Landroid/widget/BaseAdapter;


# static fields
.field private static e:J


# instance fields
.field public a:Ljava/util/HashMap;

.field private b:Landroid/content/Context;

.field private c:Ljava/util/ArrayList;

.field private d:I

.field private f:Ljava/lang/String;

.field private g:Landroid/widget/PopupWindow;

.field private h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

.field private i:Landroid/widget/EditText;

.field private j:Landroid/widget/Button;

.field private k:Landroid/widget/Button;

.field private l:Landroid/os/Handler;

.field private m:Lcom/waiqin365/compons/view/c;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/ArrayList;I)V
    .locals 3

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    iput p3, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->d:I

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->f:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kaoqin/a/u;->b()V

    return-void
.end method

.method static synthetic a()J
    .locals 2

    sget-wide v0, Lcom/waiqin365/lightapp/kaoqin/a/u;->e:J

    return-wide v0
.end method

.method static synthetic a(J)J
    .locals 0

    sput-wide p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->e:J

    return-wide p0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/a/u;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/a/u;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->m:Lcom/waiqin365/compons/view/c;

    return-object p1
.end method

.method private a(I)V
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    check-cast v0, Lcom/waiqin365/lightapp/base/WqBaseActivity;

    const-string/jumbo v2, ""

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/c/c/d;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->a:Ljava/util/HashMap;

    invoke-direct {v0, v1, v2, p1}, Lcom/waiqin365/lightapp/kaoqin/c/c/d;-><init>(Ljava/lang/String;Ljava/util/HashMap;I)V

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/c/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->l:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/kaoqin/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kaoqin/c/f;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kaoqin/c/b;->start()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/a/u;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kaoqin/a/u;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/a/u;Ljava/lang/String;Landroid/view/View;I)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/kaoqin/a/u;->a(Ljava/lang/String;Landroid/view/View;I)V

    return-void
.end method

.method private a(Ljava/lang/String;Landroid/view/View;I)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, -0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    const-string/jumbo v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f0302d4

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    const v1, 0x7f0c0e87

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->i:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    const v1, 0x7f0c0e89

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->j:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    const v1, 0x7f0c0e8a

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->k:Landroid/widget/Button;

    new-instance v0, Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    invoke-direct {v0, v1, v4, v4, v5}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;IIZ)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    const/16 v1, 0x15

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setSoftInputMode(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v5}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->i:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->k:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->i:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a/z;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/a/z;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    const/16 v1, 0x50

    invoke-virtual {v0, p2, v1, v3, v3}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->h:Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomPopupFrame;->setPopWindow(Landroid/widget/PopupWindow;)V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->a:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->a:Ljava/util/HashMap;

    const-string/jumbo v1, "conditions.id"

    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->j:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a/aa;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/a/aa;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->k:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a/ab;

    invoke-direct {v1, p0, p3}, Lcom/waiqin365/lightapp/kaoqin/a/ab;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;I)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kaoqin/a/u;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    return-object v0
.end method

.method private b()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/a/v;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kaoqin/a/v;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->l:Landroid/os/Handler;

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kaoqin/a/u;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->m:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kaoqin/a/u;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->k:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kaoqin/a/u;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->g:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kaoqin/a/u;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->i:Landroid/widget/EditText;

    return-object v0
.end method


# virtual methods
.method public a(Landroid/widget/TextView;Lcom/waiqin365/lightapp/kaoqin/e/f;)V
    .locals 2

    const-string/jumbo v0, "1"

    iget-object v1, p2, Lcom/waiqin365/lightapp/kaoqin/e/f;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "1"

    iget-object v1, p2, Lcom/waiqin365/lightapp/kaoqin/e/f;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    const v1, 0x7f080391

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public b(Landroid/widget/TextView;Lcom/waiqin365/lightapp/kaoqin/e/f;)V
    .locals 5

    const/4 v4, 0x0

    const/16 v3, 0xbd

    const/4 v2, 0x0

    iget-object v0, p2, Lcom/waiqin365/lightapp/kaoqin/e/f;->h:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    const v1, 0x7f08042f

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v3, v3, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {p1, v4}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {p1, v2, v2, v2, v2}, Landroid/widget/TextView;->setPadding(IIII)V

    invoke-virtual {p1, v4}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p1, v2}, Landroid/widget/TextView;->setClickable(Z)V

    invoke-virtual {p1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    const-string/jumbo v0, "1"

    iget-object v1, p2, Lcom/waiqin365/lightapp/kaoqin/e/f;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "1"

    iget-object v1, p2, Lcom/waiqin365/lightapp/kaoqin/e/f;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    const v1, 0x7f0803bf

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, -0x1

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0202ad

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setBackgroundResource(I)V

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/a/y;

    invoke-direct {v0, p0, p2}, Lcom/waiqin365/lightapp/kaoqin/a/y;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;Lcom/waiqin365/lightapp/kaoqin/e/f;)V

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setClickable(Z)V

    invoke-virtual {p1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_1
    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {p1, v4}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p1, v2}, Landroid/widget/TextView;->setClickable(Z)V

    goto :goto_0
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 11

    const/4 v10, 0x0

    const v9, 0x7f0c0ea6

    const/16 v8, 0x8

    const/4 v4, 0x0

    if-nez p2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0302d9

    invoke-virtual {v0, v1, v10}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/a/ac;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;)V

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->a:Landroid/widget/TextView;

    const v0, 0x7f0c0eab

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->b:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0eaa

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->c:Landroid/view/View;

    const v0, 0x7f0c0eb4

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->d:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0eac

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->e:Lcom/waiqin365/base/login/mainview/CircleImageView;

    const v0, 0x7f0c0ead

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->f:Landroid/widget/TextView;

    const v0, 0x7f0c0eae

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->g:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0eb0

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->h:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0eb2

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->i:Landroid/widget/TextView;

    const v0, 0x7f0c0eaf

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->j:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0eb3

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->k:Landroid/widget/ImageView;

    const v0, 0x7f0c0eb1

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/ac;->l:Landroid/view/View;

    move-object v2, v1

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v1, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->a:Ljava/lang/String;

    iget-object v3, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->a:Landroid/widget/TextView;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v5, " "

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->b:Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-lez p1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    add-int/lit8 v3, p1, -0x1

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->a:Ljava/lang/String;

    if-eqz v0, :cond_2

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->a:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->c:Landroid/view/View;

    invoke-virtual {v0, v8}, Landroid/view/View;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ge p1, v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    add-int/lit8 v3, p1, 0x1

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->a:Ljava/lang/String;

    if-eqz v0, :cond_4

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->d:Landroid/widget/LinearLayout;

    const/16 v1, 0xc

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v1

    invoke-virtual {v0, v1, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    :goto_2
    iget v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->d:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_6

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->e:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->f:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    iget-object v3, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->e:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-static {v1, v3, v0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v5, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->e:Ljava/lang/String;

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_7

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/e/h;

    iget-object v6, v0, Lcom/waiqin365/lightapp/kaoqin/e/h;->f:Ljava/util/ArrayList;

    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_a

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    move v3, v4

    :goto_5
    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0302d8

    invoke-virtual {v0, v1, v10}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kaoqin/e/f;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kaoqin/e/f;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0ea7

    invoke-virtual {v7, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kaoqin/e/f;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kaoqin/e/f;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0ea8

    invoke-virtual {v7, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kaoqin/e/f;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kaoqin/a/u;->a(Landroid/widget/TextView;Lcom/waiqin365/lightapp/kaoqin/e/f;)V

    const v0, 0x7f0c0ea9

    invoke-virtual {v7, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setContentDescription(Ljava/lang/CharSequence;)V

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kaoqin/e/f;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kaoqin/a/u;->b(Landroid/widget/TextView;Lcom/waiqin365/lightapp/kaoqin/e/f;)V

    if-eqz v3, :cond_0

    invoke-static {v8}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v0

    invoke-virtual {v7, v4, v0, v4, v4}, Landroid/view/View;->setPadding(IIII)V

    :cond_0
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_5

    :cond_1
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/a/ac;

    move-object v2, v0

    goto/16 :goto_0

    :cond_2
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->a:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->c:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_3
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->a:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->c:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_4
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_2

    :cond_5
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_2

    :cond_6
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->e:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v0, v8}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_7
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_4

    :cond_8
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_9

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->l:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    :goto_6
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->b:Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a/x;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/kaoqin/a/x;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/u;I)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object p2

    :cond_9
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->l:Landroid/view/View;

    invoke-virtual {v0, v8}, Landroid/view/View;->setVisibility(I)V

    goto :goto_6

    :cond_a
    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->l:Landroid/view/View;

    invoke-virtual {v0, v8}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/kaoqin/a/ac;->g:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/a/u;->b:Landroid/content/Context;

    const/high16 v3, 0x41f00000    # 30.0f

    invoke-static {v1, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setMinimumHeight(I)V

    goto :goto_6
.end method
